<%@ page language="java" contentType="text/html; charset=US-ASCII"
	pageEncoding="US-ASCII" isErrorPage="true"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<link rel="stylesheet" type="text/css" href="css/site.css">
<link rel="stylesheet" type="text/css" href="css/styles.css">

<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="scripts/script.js"></script>
<title>Error Page</title>
</head>
<body>
	<div><%@include file="/WEB-INF/header.jsp"%></div>
	<br>
	<div class="content-wrapper">
		<div id="body" style="background:;">

			<c:set var="error" value="${requestScope['javax.servlet.error.status_code']}" />

			<c:choose>
				<c:when test="${error == '404'}">
      			 	 <p style="color:red">Error: 404</p>
   				 </c:when>
				<c:when test="${error == '500'}">
       		 		 <p style="color:red">Error: 500</p>
   				 </c:when>
				<c:otherwise>
        			 <p style="color:red">Error:  <c:out value="${requestScope['javax.servlet.error.exception']}" /></p>
    			</c:otherwise>
			</c:choose>
			<div>
				<button type="button" class="button" name="back" onclick="history.back()">Back</button>	
			</div>
		</div>
	</div>



</body>
</html>